package moodish.dummy.main;

import moodish.client.MoodishClient;
import moodish.dummy.ClientCommDummy;
import moodish.dummy.MoodishClientDummy;

public class ClientMainDummy {
	public static void main(String[] args) throws InterruptedException {
		ClientCommDummy clientComm = new ClientCommDummy();
		MoodishClient client = new MoodishClientDummy();
		client.start(clientComm);

		Thread.sleep(2000);
		clientComm.sendMoodishMessage("bolas!!");
		
		Thread.sleep(2000);
		
		clientComm.unfriendship("olas");
		
		while(true){
			System.out.println(clientComm.getNextMessage().getType());
		}
		//clientComm.disconnect();
		//System.out.println("Mensagem " + clientComm.getNextMessage().getSendersNickname());
	}
}
